small fix regarding java access modifiers