fix to lower php versions