minor fix with time object