change the auto_map