Now, resources are freed and loaded well