fix view release bug