Fixing segmentProvider constant access due to different context in event handlers.
Fixing segmentProvider constant access due to different context in event handlers.

remp/remp#133

remp2020/remp,remp2020/remp,remp2020/remp,remp2020/remp,remp2020/remp