fix issue #39 where query params were dropped running under node