more addendum to old php compatibility