added full clearing of params of state machine