move 'whole' directive to an 'else'