fix label empty bug