applied findbugs suggestion