fix LOGBACK-976 (take2)