diff --git a/src/engine.c b/src/engine.c
index 39e0069bfd76f2c30abda6fd04a03099f47080b7..8de8bfe7116367502142df7d4bb0776c8bd2be4b 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -3178,7 +3178,7 @@ void engine_unpin() {
  * @param physical_constants The #phys_const used for this run.
  * @param hydro The #hydro_props used for this run.
  * @param potential The properties of the external potential.
- * @param cooling The properties of the cooling function.
+ * @param cooling_func The properties of the cooling function.
  * @param sourceterms The properties of the source terms function.
  */
 void engine_init(struct engine *e, struct space *s,
diff --git a/src/sourceterms.h b/src/sourceterms.h
index b6fb6d18094b6cd42717eb6931b3dd5f8947433c..95c37e9bba9881702a6cf6caea1004b8cfb52636 100644
--- a/src/sourceterms.h
+++ b/src/sourceterms.h
@@ -44,8 +44,8 @@ struct sourceterms {
 void sourceterms_init(const struct swift_params* parameter_file,
                       struct UnitSystem* us, struct sourceterms* source);
 void sourceterms_print(struct sourceterms* source);
+
 /**
- * @file src/sourceterm.h
  * @brief Routines related to source terms
  * @param cell_min: corner of cell to test
  * @param cell_width: width of cell to test