invert failing