Handle args[0] being undefined