fixed distro check