removed bad internal function call from ElementBase