Fixes context on setupSubControllers