fix a spelling mistake and convert some ints to floats