apply philip's patch to jabref-wrapper