[fix] Fixing URL creation for when params is blank