Error messages disappear when correct entry made