Fixing some bugs with chat on ipad.