fix pages, using ajax