fixed a bug when deeply mapping anonymous objects