fixed E_NOTICE bug with mktime()
Fixed E_NOTICE bug with allTvs