fix undefined method error when clone vm

$default is not initialized before use it.