empty srting bug fix