fixed client connected event publishing