fix transparency handling
fix transparency handling