change loc definition to be consistent with rest_easy source standards