Fixed bug in protocoll.