fixed another bug regarding floats and ints