solved document transparency bug