fixing bugs in setup.py