fixed version finding on get model

fixed version finding on get model