chat improvment, distance bug final correction