handle the case when user adds bad symbol