fix page url bugs