diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/ReceiveController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/ReceiveController.java
index 18f2b4e9..f373dfef 100644
--- a/src/main/java/com/sparrowwallet/sparrow/wallet/ReceiveController.java
+++ b/src/main/java/com/sparrowwallet/sparrow/wallet/ReceiveController.java
@@ -164,7 +164,7 @@ public class ReceiveController extends WalletFormController implements Initializ
@Subscribe
public void walletHistoryChanged(WalletHistoryChangedEvent event) {
if(event.getWallet().equals(walletForm.getWallet())) {
- if(event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
+ if(currentEntry != null && event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
updateLastUsed();
}
}
diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.css b/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.css
index 20fa274f..611d444f 100644
--- a/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.css
+++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.css
@@ -10,4 +10,8 @@
.receive-form .form .fieldset:horizontal .label-container {
-fx-pref-width: 90px;
-fx-pref-height: 25px;
+}
+
+#lastUsedField .input-container {
+ -fx-alignment: center-left;
}
\ No newline at end of file
diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.fxml b/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.fxml
index 41a29e80..5e25b7a5 100644
--- a/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.fxml
+++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/receive.fxml
@@ -42,8 +42,8 @@
-
-
+
+