remove reference to panels node when testing for panel