fixed p1 type check