Kill bug that make logout imposible