solving "intent-not deleted issue"