make binary connection work