fix int to long