frigidaire water valve

I replaced my frigidaire's water valve. now instead of having the water fill the ice maker, it comes out through the water dispenser. And the water dispenser is now leaking. I am very sure that I connected everything the way it should be because they are color coded. Any help or advice will be greatly appreciated.
Thanks.