add soft R_MODE to AG_MODE switching(disable see line 1658)