attempted fix for htmlunit related errors