Fix problem for pig, emr_pig