key.unbind tries to test obj.scope even when obj is undefined