Small bug fixes.
Merge branch 'master' of https://github.com/wiye/pysa