improve base code
remove chat history