fixed the errors in both projects