changed field access rules to fail on null reference access