fix bad seq error