states.stateconf: use conventional param name: kws -> kwargs