fix logout after change setting