fix view when no data