Fix float attribute