fix view file