Editted Error Message displaying