bugfixes and optionalized ngrok
response cleanup