Fixed bug on createVertex transaction