Fix application routing