modify some bug,and remove *.pyc and *.swap file