fix float negative numbers