attempt at fixing anim in repeat