forgot the version-detection hack; fixed