Bugfix when extending local or nos