Fix to Profile.java
More fix to Profile.java