cleaned up the generate session log