fix DOM elements selection by ID