fixed undef query param