fixed binaryInsert and chat issues