Bug fixes in java backend process