undefined check for augmentation