fixed transparency bug