fixed quote parsing bug