fix an mistake in animation saving, and resizing map object