MAP macro and correct set_modes