Fix array and garbage