php block detection fix