fixing more bugs
Merge https://github.com/SycamoreRockwell/GroupProject