Error message fix if fied empty and required