Fix some error report by pylint