Update: using empty string '' instead of 'undefined' in url params;