update chapter-07 - remove {:d}, adopt error messages