       col <- liftIO $ cMetaLocationColumn mp
       scope <- liftIO $ cMetaLocationScope mp
 
-      scope' <- translateMetadata scope
+      scope' <- translateMetadataRec finalState scope
       return MetaSourceLocation { metaSourceRow = line
                                 , metaSourceCol = col
                                 , metaSourceScope = scope'

      line <- liftIO $ cMetaTemplateValueLine mp
      col <- liftIO $ cMetaTemplateValueColumn mp

      ctxt' <- translateMetadata ctxt
      ty' <- translateMetadata ty

      return MetaDWTemplateValueParameter { metaTemplateValueParameterContext = ctxt'
                                          , metaTemplateValueParameterType = ty'

      line <- liftIO $ cMetaLexicalBlockLine mp
      col <- liftIO $ cMetaLexicalBlockColumn mp

      ctxt' <- translateMetadataRec finalState ctxt

      return MetaDWLexicalBlock { metaLexicalBlockRow = line
                                , metaLexicalBlockCol = col
