load new resources correctly