reset resource when load again