fix declaration of identical routes