Fix float order bug