leave record_not_found to main_app