use - or _ when detecting version