changed how object deletion works