Refer to the actual mode when modifying NAMES output