Fix time check thinko