small fixes for jar compat

otherwise, working great!