bug fix crash when trying to return from child intent