Element have unique id still sometime it does not work when executed

Element have unique id still sometime it does not work when executed.