debugging margic partition stuff