apply Max's PR, https://github.com/nickboldt/jbosstools-locus/pull/1