Fixes "ReferenceError: hostClients is not defined" error