bugfix: cannot extract long definitions exceeding 4000 chars