minor bug fixes
Merge branch 'master' of ssh://git@github.com/fangyu2/cmput391project.git