Fixed small bugs
Merge branch 'master' of https://github.com/dlisuk/cse221_project