made error messages twice as useless