Can I see your code ?
Nevermind that, I figured it out. I just forgot to set the state variable at the beginning.