fixes defautl in query params