fix undefined method error when clone vm