fix page bugs