fix int-long issue