fixed float warning.