fixed problems with duration displaying