add fix for undefined rich_file errors