fix cust_type_rel & cust_type_dtl download logic