prevent crash when there are no clients