fixed more things, phase LUT invertion