add error check on install.