remove unnecessary element selection