Fixed improper call to "map".