modified vid from int to string, modified submit process