Fixed the getQueryParam plugin