Fixed FindBugs bug