Fix pStone crash