fix some findbug warnings