improvements for panel element selection