safe attribute accessing. why is chef so mad to me?