fix laser inversion