diff --git a/README.md b/README.md
index 1997ad3..d6f63bb 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ OpenStud Driver can be easily added to your existing project through Maven or Gr
com.github.LithiumSR
openstud_driver
- 0.10
+ 0.10.1
```
@@ -51,7 +51,7 @@ allprojects {
2) Add the dependency
```
dependencies {
- implementation 'com.github.LithiumSR:openstud_driver:0.10'
+ implementation 'com.github.LithiumSR:openstud_driver:0.10.1'
}
```
diff --git a/pom.xml b/pom.xml
index cf8ab0d..22f9825 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
lithium.openstud.driver
openstud-driver
- 0.10
+ 0.10.1
openstud-driver
diff --git a/src/main/java/lithium/openstud/driver/core/Openstud.java b/src/main/java/lithium/openstud/driver/core/Openstud.java
index b22ca67..b79934a 100644
--- a/src/main/java/lithium/openstud/driver/core/Openstud.java
+++ b/src/main/java/lithium/openstud/driver/core/Openstud.java
@@ -3,6 +3,7 @@
import lithium.openstud.driver.exceptions.*;
import okhttp3.*;
+import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;
@@ -296,10 +297,10 @@ private Student _getInfoStudent() throws OpenstudConnectionException, OpenstudIn
st.setCF(response.getString("codiceFiscale"));
break;
case "cognome":
- st.setLastName(response.getString("cognome"));
+ st.setLastName(StringUtils.capitalize(response.getString("cognome").toLowerCase()));
break;
case "nome":
- st.setFirstName(response.getString("nome"));
+ st.setFirstName(StringUtils.capitalize(response.getString("nome").toLowerCase()));
break;
case "dataDiNascita":
String dateBirth = response.getString("dataDiNascita");