improved parse logging