hopefully fixed bug with filesystem object