fixing install rules