fix md list flags