fix hack float type