simplify
error message is now shorter