set correct number of args in template worker fsm