fix view change