fixed the worng displaying of error msg box