fix view missing bug