added proper version computation to gb