resolve p1 signedness