05261207 add rst_check condition