add missing 'else'