fix edit page button on homepage