Fixed chat controller issue