Fixed typo in invert partial