modified replace semi-coron