fix pig joda issue