replace all inverse