fixed float warnings