make sure virtus is loaded before patching