resolve findbugs warnings