diff --git a/include/kernels/gauge_stout.cuh b/include/kernels/gauge_stout.cuh
index 712f191f83..0e92affa8b 100644
--- a/include/kernels/gauge_stout.cuh
+++ b/include/kernels/gauge_stout.cuh
@@ -135,7 +135,6 @@ namespace quda
}
Link U, Q;
- //ThreadLocalCache Stap;
ThreadLocalCache Stap;
ThreadLocalCache Rect; // offset by Stap type to ensure non-overlapping allocations
diff --git a/lib/gauge_loop_trace.cu b/lib/gauge_loop_trace.cu
index 69e4164c7d..6397da8252 100644
--- a/lib/gauge_loop_trace.cu
+++ b/lib/gauge_loop_trace.cu
@@ -13,7 +13,7 @@ namespace quda {
std::vector& loop_traces;
double factor;
const paths<1> p;
- unsigned int sharedBytesPerThread() const override { return 4 * sizeof(int); } // for threda_array
+ unsigned int sharedBytesPerThread() const override { return 4 * sizeof(int); } // for thread_array
public:
// max block size of 8 is arbitrary for now