fixing findbug errors