change temporary session cleanup fix