correct 2 errors