bug fix for timeline