refactor install activator