fix traceback with new fileprops.