Scattering effect in optical microring resonators