updated some of the project stuff
Added a try catch in case of suchnomethodexception happening