fixed settings session stuff