exit correctly, and ignore quotes