diff --git a/ews/coordinator/utils/processor_utils.py b/ews/coordinator/utils/processor_utils.py
index 2ff6104d4fb4684a5caff6ebf9895892b6619d6c..6bffe5641062adf0fdb5ca412c055a73f65a00ed 100644
--- a/ews/coordinator/utils/processor_utils.py
+++ b/ews/coordinator/utils/processor_utils.py
@@ -138,10 +138,11 @@ def parse_json_file_with_tokens(file_path: str, tokens: dict = None) -> dict:
             # reparse the string with any other tokens passed in as arguments
             parsed_file_string: str = Template(parsed_file_string).safe_substitute(**tokens)
 
-        if "${" in file_string:
+        if "${" in parsed_file_string:
             logger.warning(f"\n\nUNRESOLVED TOKENS IN THE CONFIG FILE: {file_path} - THIS MAY BE BECAUSE YOU ARE DECLARING "
-                           f"VALUES WHICH INCLUDE A TOKEN, WHERE THE VALUE OF THE TOKEN ITS SELF USES A TOKEN. YOU CAN "
+                           f"VALUES WHICH INCLUDE A TOKEN, WHERE THE VALUE OF THE TOKEN ITSSELF USES A TOKEN. YOU CAN "
                            f"NOT DECLARE TOKENS WHICH DEPEND ON OTHER TOKENS\n\n")
+            logger.warning(f"UNRESOLVED TOKENS: {parsed_file_string}")
         # finally, parse the tokenized string as a json dict
         result = json.loads(parsed_file_string)