fix flag order in mule
remove old tasks from dict [ci skip]