cleaned up debug output and set protocolparams to normal