maybe fixed resume crash