more adjustments for version 0.2.2 of phcpy