handle bad seq