fixing expired session logs