changed error msgs in exceptions