fixed leftover errors from FindBugs report