fixed session load bug