page redirect bugfix