support dirscan, fix RTR for reset