fix smileys related bug