fix bugs
Merge branch 'master' of https://github.com/clffamily/csc309-A3