fixing figure 7.9