Handle undefined case