remove extraneous activities