Fixed integer conflict in mainsite setup