fixing transparency issue