Session settings bug fixed