fix int issue