protect against time being nil here too