Fix timeline api