(bug #2978) fix differents bugs in marc editor