modified bug that TypedResources nature was not removed properly