missing return in map