H1B receive both W2 and 1099
I got H1B in 2004. In 2005 I helped one professor with a project. At that time I didn't know it is not legal to work for someone who is not your H1B sponsor. In 2006 I received both W2 from my current employer and 1099 from the professor. The amount he paid me (about $10,000) was listed in #7 nonemployee compensation. My questions are:
1. Is it possible to ask him to cancel 1099? I would rather return the money than getting in trouble.
2. If I HAVE TO file for tax, what form do I need fill? Any changes I need to make on form 1040NR?
Thank you so much!