bugfix major in get-orig-seq