a mess due to test setting element id