bug on empty animation fixed.