Fix  #866 unable to delete smiley

Fix #866