fix logging, remove duplicate places with version number