fix pychecker errors
fix pool use