fix float index