invert polatiry