stupid bug in errormessage
added reader