fix the problem of src_num etc