fixed a bug in HiddenStep.