managed files fix