fixed error messages for header row errors