remove bug with computate milliseconds