fix user-hooks