fix for seq offset