fix delete object in context