fixed pylint warning
fixed yet more pylint warnings