fix 4 chat & removed redundant lookup tables