fix vertex constructor error
fix duplicate method error