fixed the errors Task 4