fix page title change bug