fixed bug on exit signin