Fixing protected fields