added missing calls to bind