fixes for using floats instead of ints