Fixed two findbug warnings