test check_num and fix_num