change how version detect works

Change-Id: I3f358e10af7560cf59773d1b1858ba834a1ca3b1