Fixed declaration of controllers