solve findbugs warnings