fixed rksmrgs plugin