debugging stuff for fixing the transparency effects