fix query string registry