fix arr_sites variable position