fix transparent bug