removing unused activities