fixed edit link in index view