need to fix the bug of annimation