some cleanup
stub of binary session