access scope change and indentation fix