fix expressions on repeated items