Fix code snippet
fix indentation
fix routing definition