fixed similar issues in chapter2