avoid install exception when there's not required package installed.