Fix delete object