remove redundant activity