Catch empty lambda in map