I'm thinking that it wasn't done fermenting when I racked it to the secondary. A day after I racked it it took off again and produced some foam on the top. a day later there was the cloudyness but no foam. I racked it again and haven't noticed any more cloudyness.