fix user-activation bug