I'm a self-employed expat. How do I avoid duplicating income, if I input income to calculate home office expenses and also for form 2555, foreign income exclusion?

I reported my self-employment income in the section on foreign earned income.   One is also required to include self-employment income in order to calculate and complete the self-employment expenses section/ particularly home office.  I'm concerned that the same income will be reported twice.