Clean milestone code