Fixed wrong usage of timeobject.