Correct retreival of DOM object