diff --git a/templates/register.html b/templates/register.html
index 03cc11c6..c96cea6b 100644
--- a/templates/register.html
+++ b/templates/register.html
@@ -176,7 +176,7 @@ document.addEventListener('DOMContentLoaded', function() {
if (latElement && lonElement) {
latElement.value = salt || '0.00'; // Default to '0.00' if lat is missing
lonElement.value = pepper || '0.00'; // Default to '0.00' if lon is missing
- uplanetElement.value = uplanetElement || '@'; // Default to '0.00' if lon is missing
+ uplanetElement.value = uplanet || '@'; // Default to '0.00' if lon is missing
}
// Decalage de - 0.05° = MAP coord SW