Fixed bug #88: [core] set one main site