Fixed findbugs errors.