array_first fix