Can someone help with this modified macro for GS?

I took the one from Beef and modified it a bit but still can’t get it to fire right.

Basically I get Thrash, rake and swipe but I never get the Ferocious Bite. It seems to keep hanging up there. Any ideas? I am still trying to figure out the code so not sure why it has “[[” around the castsequence. Everything fires except the Ferocious bite.

Sequences['Swipe'] = {
PreMacro = [[
/targetenemy [noharm][dead]
/use [noform:2]Cat Form
/cast [nostealth,nocombat] Prowl
]],
[[/cast [combat] !Incarnation: King of the Jungle]],
[[/cast [combat] !Mighty Bash]],
[[/castsequence reset=combat Rake,Thrash,Swipe,Swipe,Swipe,Ferocious Bite]],
PostMacro = [[
/cast [combat] !survival Instincts,
/cast [combat] !Tiger's Fury,
/cast [combat] !Berserk,
/cast crystal of insanity
/use [combat]13
/use [combat]14
/startattack
]],
}

THis is best i can get im below cap so as i hit cap ill update no need for aoe unless ther more then 11

Sequences["Feral"] = {
	StepFunction = [[
		limit = limit or 1
		if step == limit then
			limit = limit % #macros + 1
			step = 1
		else
			step = step % #macros + 1
		end
	]],
PreMacro = [[
/targetenemy [noharm][dead]
/use [noform:2]Cat Form
/cast [nostealth,nocombat] Prowl
/castsequence [nocombat] reset=target !rake,null
/stopattack [stealth]
]],
'/cast [combat] Incarnation: King of the Jungle',
'/castsequence [nostealth] Shred,Bite,Shred,Shred,Rip,Ferocious Bite,Rake,Shred,Rip,Shred,Shred,Rip,Rake,Shred,Maim,Shred,Shred,Shred,Ferocious Bite',
'/castsequence [combat] Shred,Rake,Shred,Ferocious Bite',
'/castsequence [combat] Rake,Shred,Rake,Maim',	
	PostMacro = [[
/castsequence [combat] survival Instincts
/castsequence [combat] Tiger's Fury
/castsequence [combat] Berserk
/startattack
]],
	
}