Fixed bugs in rcexpevents