another fix due to duplicate element ids