steps: fixing minor recursive bug to allow self-reuse