fix version logging