clean up unused resources on load
Revert "clean up unused resources on load"

This reverts commit aa51b1cd81af54d3edf41ce657793da86dd6e8b6.