diff --git a/templates/register.html b/templates/register.html
index 704208c8..42a887db 100644
--- a/templates/register.html
+++ b/templates/register.html
@@ -117,8 +117,8 @@ document.addEventListener('DOMContentLoaded', function() {
const uplanetElement = document.querySelector('input[name="uplanet"]');
if (latElement && lonElement) {
- latElement.value = lat || '0.00'; // Default to '0.00' if lat is missing
- lonElement.value = lon || '0.00'; // Default to '0.00' if lon is missing
+ 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 = uplanet || '@'; // Default to '0.00' if lon is missing
}
});