fixed edit and delete link bug