handle non-existent vertex