is this correct when combining like terms

17a^2b-16ab^2+3a^3+4ba^3-b^2a=
17a^2-17ab^2+7ba^3

I have a feeling you made a typo

your answer is correct if the third term is 3ba^3