check for quote inside symbols, which is illegal