fixing bug with the missing vm initiation