fix float display issue