Fixed crash bug in site display