improve epr 2 and smod 4