fix installation check.