Dtr and Rts flags bug fixed.