fixed float comparison with 0