compose: remove redudant entries