fixed scenario error when post text could be empty