Some updates

* Fixed a crash issue when the command was empty on the commandlist
* Fixed the remain time