fix user leave