Get current version correctly