msec to string bug fix