fixed session garbage collection