fix timestamp expire validation