diff --git a/public_html/script.js b/public_html/script.js
index 1cdfccd..f21a89a 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -952,7 +952,7 @@ function selectNewPlanes() {
for (var key in Planes) {
if (Planes[key].visible === false) {
Planes[key].selected = false;
- Planes[key].updateLines();
+ Planes[key].clearLines();
Planes[key].updateMarker();
} else {
if (Planes[key].selected !== true) {