fixed the new tab to go to edit page