fixed multiple entries in partitions array