fixing some more code example errors