fix: undefined query parameter will not crash the lib