handle case of uninitialized quote by parsing quotes and then filtering them out