fixed error msgs