bug fixed to animations