fixed the broken sequence