fix bug with setting locality which caused issues with sm and vader btls