reduce the number of useless session objects