bug fix in vm files.