Add location type bugfix