Invertedcomp bug fixed