imple stl_vector's insert and fix some bugs