ram_console: fix compile error