added versiom compair for allow_virtual