fix the float text overflow