Strip query param
Remove debug output