remove unnecessary record_type param