made settings.java compatible with version 2.6