fix array_get when the value is null