fix prevent empty text