Fix bug in Bind()