error msg wasn't showing