Didn't test the getQueryParam properly

My bad i didn't test the getQueryParam i just read the code and assumed it would work. Missed that you use the wrong variable