wrong chat function