fix misattributed vars for animation