[FIX] Added a empty text check to solve ticket #1121