map: analysis: prevent undefined