diff --git a/runtime/quark/codelets/codelet_ztpmlqt.c b/runtime/quark/codelets/codelet_ztpmlqt.c
index aec5245b20c656b712b82617eacc6b064423f725..fa435550dbb7cea349898f43b5e8fa9ec71c8ef4 100644
--- a/runtime/quark/codelets/codelet_ztpmlqt.c
+++ b/runtime/quark/codelets/codelet_ztpmlqt.c
@@ -57,7 +57,7 @@ void INSERT_TASK_ztpmlqt( const RUNTIME_option_t *options,
                          const CHAM_desc_t *B, int Bm, int Bn, int ldb )
 {
     quark_option_t *opt = (quark_option_t*)(options->schedopt);
-    DAG_CORE_TPMLQRT;
+    DAG_CORE_TPMLQT;
 
     int shapeV = ( L == 0 ) ? 0 : (QUARK_REGION_L | QUARK_REGION_D);
 
diff --git a/runtime/starpu/control/runtime_zlocality.c b/runtime/starpu/control/runtime_zlocality.c
index 339998af65eb93551e82261fc84bea9bc369c258..844d5c94c62b50945b52c2b666514d1aaf4fa8da 100644
--- a/runtime/starpu/control/runtime_zlocality.c
+++ b/runtime/starpu/control/runtime_zlocality.c
@@ -106,13 +106,13 @@ void RUNTIME_zlocality_onerestrict( cham_tasktype_t kernel, uint32_t where )
     case TASK_GEQRT:  cl_zgeqrt_restrict_where( where ); break;
     case TASK_TPQRT:  cl_ztpqrt_restrict_where( where ); break;
     case TASK_UNMQR:  cl_zunmqr_restrict_where( where ); break;
-    case TASK_TPMQRT:  cl_ztpmqrt_restrict_where( where ); break;
+    case TASK_TPMQRT: cl_ztpmqrt_restrict_where( where ); break;
 
     /* LQ */
    case TASK_GELQT:  cl_zgelqt_restrict_where( where ); break;
    case TASK_TPLQT:  cl_ztplqt_restrict_where( where ); break;
    case TASK_UNMLQ:  cl_zunmlq_restrict_where( where ); break;
-   case TASK_TPMLQT:  cl_ztpmlqt_restrict_where( where ); break;
+   case TASK_TPMLQT: cl_ztpmlqt_restrict_where( where ); break;
 
     default:
       return;
@@ -205,7 +205,7 @@ void RUNTIME_zlocality_onerestore( cham_tasktype_t kernel )
    case TASK_GELQT:  cl_zgelqt_restore_where(); break;
    case TASK_TPLQT:  cl_ztplqt_restore_where(); break;
    case TASK_UNMLQ:  cl_zunmlq_restore_where(); break;
-   case TASK_TPMLQR: cl_ztpmlqp_restore_where(); break;
+   case TASK_TPMLQT: cl_ztpmlqt_restore_where(); break;
 
     default:
       return;