change the show page to fit the ajax