fix register extension on app object