fix timeline event bug