fix infinite loop reference by RTFM