fixes #2570
backward compatibility
Merge pull request #2933 from gurbuzali/ra-fix

fixes #2570