Fixed so Ctrl replace logic is global matching in case it will have multiple ctrls.