fixed bug where quotation character was incorrectly extracted