thoughtloop fix