clean dirs in ma_c