fixed parsing to account for quotes and double (double) quotes