fixing timeline time bug