Fixes some RD console runtimes. Fixed #5783
Merge pull request #5786 from Miauw62/runtime1

Fixes some RD console runtimes.