fix view_mode