potential fix for fragment resume crash