Fix controller initialization.