fixed issue with edit button and index pin page