fix hpi paths