findbugs fixes for library