fixed float type to be int type