Fixing issue in load_resources lib