Add error detect type; Add basic filter for error alignment