removed patchxhr (close #113)