repair transparent bug