rename undef to undefined (preserving the fact that it is a function)