fix view usage