float calc fix