Main controller fixed.