Fix application routes