add validation check for ..
use prefix search for version