creating vertices for null references