I had a number of huts constructed throughout my two cities when I researched the next level of civic research. I selected housing. To my surprise almost every single hut was removed WITHOUT being replaced by a house. My main city's population when to 20 since all the houses were gone.