fix: RT bug, add: debug mode