fixed install rules.