Crash when view controller is deleted was fixed