cast to long not int