pig extension fix