fixed problem if user puts symbols in tab names