fix some animation stuff