fixing bugs with glow/absorbtion