animation bug fix.