fix page path regex