Fix findbug warnings.

Fixed some warning from findbugs.