Fixed chat initialization