added a helper file and fixed the editor page and the content page