quick fix to animation bugs