remove inherit patch