Added support for empty label text