Thanks,

I figured it out. It had to do that the type was declared twice.