fix page key bug