Fixing mismatched wfProfileIn / wfProfileOut