C0103 fixes 1

this part contains the changes on local variables
no, this change should not have been in this PR. I didn't want to change attributes of classes here. I will fix it now