fix typo in queryParam management. closes #183