trying to debug chat module, but i m a jerk :(