added exception handling around measure loading