fix timeline bug