Fixed some errors in project