fixed edit link bug