fixed day old logic