fixes for Chat messages custom params
fixes for Chat messages custom params