fixed setup.py, pyvm. fixed some bugs