fixing animation