Fix init controller