Update ConfigCreator.java

Fixes some issues