delete activities and res