fixes FindBugs warnings