Correcting creation of controller