remove the transparency code