diff --git a/src/main/java/com/dlsc/preferencesfx/formsfx/view/controls/SimpleTextControl.java b/src/main/java/com/dlsc/preferencesfx/formsfx/view/controls/SimpleTextControl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/dlsc/preferencesfx/formsfx/view/controls/SimpleTextControl.java
+++ b/src/main/java/com/dlsc/preferencesfx/formsfx/view/controls/SimpleTextControl.java
@@ -61,9 +61,8 @@ public class SimpleTextControl extends SimpleControl<StringField, StackPane> {
   public void initializeParts() {
     super.initializeParts();
 
-    node.getStyleClass().add("simple-text-control");
-
     node = new StackPane();
+    node.getStyleClass().add("simple-text-control");
 
     editableField = new TextField(field.getValue());
     editableArea = new TextArea(field.getValue());
switched ordering of getStyleClass on node, so it will only be called after it's been initialized