array related fix