Fixed routing error controller problem