fix example of programmatically adding a step handler