working on fixing thread response error