avoid adding local types into vertices