better handle floats