changed error msgs