fix missing import, time