fix float by random