iptrial fixed, not segmentation fault anymore