fix multi regexp replacement