fixed record not found error message