invert() location changed