fix postinstall error.