Fix array keys