HOME OFFICE LOSS

I received a 1099k  for around $17k and after my operating expenses it shows a loss of  around $28k. Once i take the home office deduction of around  $10k it increases the loss to around $38k and carries over to offset part of my wife's w2 income and royalty income. I read that the home office loss is limited but in this case it is not. Is there something wrong? Please any suggestions or advice. Thank you.