fixing issue from float