fix map formatting