fix insurance_num to bigint and test check_mime