fixed bugs in setup.py