fix issues for pylint