fix timeline restore issue