Fix but to load resource