changed settings for Java 7