tweak PHP syntax to avoid an error