Fixed crash when back out