bug fixes and updated txt files