properly ignore quote exception; removed unused code