fix pychecker warning