was missing an import on registerActivity