get version more cleanly