little fix for log out