Bugfix: duplicate ids.