fixed my local copy of manager.py