fixed session#close