fixed a small bug that caused the dynamic map not to write to the harddrive