cleaning up commprotocol