handling RecordNotFound