fixed bug in choosing by main version or 7-part version ID