fix data-bg handling (fixes issue #22)