fixed session cookie issue