fixing version management detection