Fix errormessage during startup