State tax filing

Thank you @ErnieS0  to clarified it for me , I finally get through that part. I finish the CA state tax as non-resident and move on to ID state tax. In the end, it is basically telling I don't owe any taxes to ID since I already paid tax to CA. I switch to form format, and try to understand it. It looks like the number from 1040 has been plug into CA and ID forms. In 1040 it combine the business income, the capital gain from property and stocks and subtract all the deductions, so the number being used in CA tax already include my income as ID resident ??  so I am paying CA tax and when I do the ID tax, the tax due is 0 since I paid  CA. I feel like I did something wrong, but I really can't find where it went wrong.