Fixed printMode check for Step 3