get element bugfix