Fix typo
use each instead of map