fix route pattern requirement