clean up comments in iparpetc and improve high-speed mode