Remove broken code and chat formatting