Fixed ChatService initialize callback