hunter: java: protect from IDs >500