corrected exceptions for Vertex