add method to fetch ext version from header
remove ugly debug :)