misc fixes for java grid