fixes to animation