solution to findbugs error