correct findbugs warnings (#147)