exercises: small fix in ex 7