minor Pig improvements