add fix view function