added an errormessage