Fixed some cfg activity behavior