fixing some transparency stuff