random flailing to fix 'can't adapt type 'NavigableString'' error