Fix indentation
MSSLinux: fix 'list indices must be integers, not str'
Remove tmp variable not needed