Fix timeline bug