Tidied up most recent commit

cleaned up some errors in the project