remove external pages and json