Fixed bug on missing time when using time