fixed chat portion of application