modified error msgs