[self viewWasDismissed] fix