reading version from right place