Add command "vertex", and fix the some bugs.