fix some access modifiers