enhanced bitlove compatibility