fix php5.4 Array string conversion