properly print version