simplify map's block