fix bug currentElement by adding Source