this should fix notice on PHP5.4 & 5.5 in case a value of the array is an array