fixed the issue about checking vertex's with no outgoing projections