fix an issue with check custom uri path