Fixed bug where new sites couldnt be created