Changed Ident check to what Tijs adviced me, fixed 'possible bugs' found by findBugs plugin