fix page references