accept undef as a valid ext argument without generating a warning