make sure vertex type same one requested