fixed autonewline setting to work correctly (backwards compatible)