fixed errormessage again