fix for the ".advfile" issue.