fixed a transerency bug