fixed potential NPE in activator