adjustment for version 0.2.2 of phcpy