fixes #3 pass through query params