fix timeBar length