session & cache fix