fix for fody memory leak