Fix step() issue.