remove another activity that has additional dependency