InverseSafe function changed to inverse in update 5.0