fix adding element id