bug do logout