fix for background crash - resume

added logging