howto: fix example using smap