fix for distro check