fix for statbarjava