Fixed bug when creating a new site via new Site