Find and fix the two mistakes in the following code.