logaut fix