unbinding arrow handlers before binding them to close #175