adaptation for jsoup