adjustment for older php