fix vm path
insert vm params to database