Minor Code Errors

Fixed errors
Merge pull request #3 from Robolord/patch-2

Minor Code Errors