fix(program configuration): remove all program configurations before creating them