Fixed p2.inf with derivate