to make the rtgen.py run ,but not ok