moved _map_model and _map_details outside of Options