cleanup time equality check