corrected 2 errors