refactoring: fix findbugs warning