Fix wrong variable reference.
Add missing controller.