ROTH contribution limit, self-employed

My only earned income is from the profit of my self-employment.  What counts as the profit for this purpose: Schedule C line E5 ("allowable Sch C profit") minus E6b ("1/2 self employment tax deduction") ? 

or  Schedule C line E5 ("allowable Sch C profit") minus E6b (1/2 self employment tax deduction) minus 6a ("Self employed health insurance") ?

Turbo tax seems to think it's the first option. Is that correct?