Animation bug.

Today I went to make an avatar but when I was in the animations part, I noticed that the toggle animation in the FX of an object from off to on was fading and appearing several times when it was to activate the animation and show the constant object. Does anyone know how to fix it?