fix checkinstallParam