fix view issues