Use the correct length when displaying popup errors!