correct fix for making field private