mod for path err by pig