fix view for mac