bugfix for when there are no sites