fixed rare case transparency bug