avoid the warning if the array_merge second param is not an array